Add OSD_STATE_GROUP_ELEMENTS state to osdUpdate() and optimise DMA vs polled MAX7456...
[betaflight.git] / docs / boards / Board - DALRCF405.md
blob13acce3072ba91c78b23ddde37d481c9f24f4ceb
1 # Board - DALRCF405
3 The DALRCF405  described here:
4 http://www.dalrcmodel.com/DALRC/plus/view.php?aid=184
6 This board use the STM32F405RGT6 microcontroller and have the following features:
7 * 1024K bytes of flash memory,192K bytes RAM,168 MHz CPU/210 DMIPS
9 * The 16M byte SPI flash for data logging
10 * USB VCP and boot select button on board(for DFU)
11 * Stable voltage regulation,9V/2A DCDC BEC for VTX/camera etc.And could select 5v/9v with pad
12 * Serial LED interface(LED_STRIP)
13 * VBAT/CURR/RSSI sensors input
14 * Suppose IRC Tramp/smart audio/FPV Camera Control/FPORT/telemetry
15 * Supports SBus, Spektrum1024/2048, PPM. No external inverters required (built-in).
16 * Supports I2C device extend(baro/compass/OLED etc)
17 * Supports GPS 
19 ### All uarts have pad on board 
20 | Value | Identifier   | RX   | TX   | Notes                                                                                       |
21 | ----- | ------------ | -----| -----| ------------------------------------------------------------------------------------------- |
22 | 1     | USART1       | PB7  |  PA9 |  PB7 FOR SBUS IN(inverter build in)                                                         |
23 | 2     | USART2       | PA3  |  PA2 |  PAD USE FOR TRAMP/smart audio                                                              |
24 | 3     | USART3       | PB11 |  PB10|  USE FOR GPS                                                                                |
25 | 4     | USART4       | PA1  |  PA0 |  PA0 FOR RSSI/FPORT/TEL etc                                                                 |
26 | 5     | USART5       | PD2  |  PC12|  PAD                                                                                        |
29 ### I2C with GPS port together.Use for BARO or compass etc 
30 | Value | Identifier   | function |  pin   | Notes                                                                                 |
31 | ----- | ------------ | ---------| -------| ------------------------------------------------------------------------------------- |                                                                                      
32 | 1     | I2C1         |    SDA   |  PB9   | with GPS outlet
33 | 2     | I2C1         |    SCL   |  PB8   | with GPS outlet
36 ### Buzzer/LED output 
37 | Value | Identifier   | function |  pin   | Notes                                                                                 |
38 | ----- | ------------ | ---------| -------| ------------------------------------------------------------------------------------- |                                                                                      
39 | 1     | LED0         |    LED   |  PC14  | 
40 | 2     | BEEPER       |    BEE   |  PC13  | 
43 ### VBAT input with 1/10 divider ratio,Current signal input,Analog/digit RSSI input
44 | Value | Identifier   | function  |  pin  | Notes                                                                                 |
45 | ----- | ------------ | ----------| ------| ------------------------------------------------------------------------------------- |                                                                                       
46 | 1     | ADC1         |    VBAT   |  PC2  |  DMA2_Stream0
47 | 2     | ADC1         |    CURR   |  PC1  |  DMA2_Stream0
48 | 3     | ADC1         |    RSSI   |  PA0  |  DMA2_Stream0
49 | 4     | ADC1         |    extend |  PC0  |  DMA2_Stream0 extend for other senser(PAD)
52 ### 8 Outputs, 1 PPM input 
53 | Value | Identifier   | function  |  pin  | Notes                                                                                 |
54 | ----- | ------------ | ----------| ------| ------------------------------------------------------------------------------------- |                                                                                       
55 | 1     | TIM12_CH2    |    PPM    |  PB15 |  PPM
56 | 2     | TIM3_CH3     |    OUPUT1 |  PB0  |  DMA1_Stream7
57 | 3     | TIM8_CH1     |    OUPUT2 |  PC6  |  DMA2_Stream2
58 | 4     | TIM1_CH3     |    OUPUT3 |  PA10 |  DMA2_Stream6
59 | 5     | TIM1_CH1     |    OUPUT4 |  PA8  |  DMA2_Stream1
60 | 6     | TIM8_CH3     |    OUPUT5 |  PC8  |  DMA2_Stream4
61 | 7     | TIM3_CH4     |    OUPUT6 |  PB1  |  DMA1_Stream2
62 | 8     | TIM3_CH2     |    OUPUT7 |  PC7  |  DMA1_Stream5   NO PAD
63 | 9     | TIM8_CH4     |    OUPUT8 |  PC9  |  DMA2_Stream7   NO PAD
64 | 10    | TIM4_CH1     |    PWM    |  PB6  |  DMA1_Stream0   LED_STRIP
65 | 11    | TIM2_CH1     |    PWM    |  PA5  |  FPV Camera Control(FCAM)
68 ### Gyro & ACC ,suppose ICM20689/MPU6000
69 | Value | Identifier   | function |  pin   | Notes                                                                                 |
70 | ----- | ------------ | ---------| -------| ------------------------------------------------------------------------------------- |                                                                                      
71 | 1     | SPI1         |    SCK   |  PB3   | 
72 | 2     | SPI1         |    MISO  |  PA6   | 
73 | 3     | SPI1         |    MOSI  |  PA7   | 
74 | 4     | SPI1         |    CS    |  PC4   | 
76 ### OSD MAX7456
77 | Value | Identifier   | function |  pin   | Notes                                                                                 |
78 | ----- | ------------ | ---------| -------| ------------------------------------------------------------------------------------- |                                                                                      
79 | 1     | SPI3         |    SCK   |  PC10  | 
80 | 2     | SPI3         |    MISO  |  PC11  | 
81 | 3     | SPI3         |    MOSI  |  PB5   | 
82 | 4     | SPI3         |    CS    |  PA15  |
84 ### 16Mbyte flash
85 | Value | Identifier   | function |  pin   | Notes                                                                                 |
86 | ----- | ------------ | ---------| -------| ------------------------------------------------------------------------------------- |                                                                                      
87 | 1     | SPI2         |    SCK   |  PB13  | 
88 | 2     | SPI2         |    MISO  |  PB14  | 
89 | 3     | SPI2         |    MOSI  |  PC3   | 
90 | 4     | SPI2         |    CS    |  PB12  | 
92 ### SWD
93 | Pin | Function       | Notes                                        |
94 | --- | -------------- | -------------------------------------------- |
95 | 1   | SWCLK          | PAD                                          |
96 | 2   | Ground         | PAD                                          |
97 | 3   | SWDIO          | PAD                                          |
98 | 4   | 3V3            | PAD                                          |
100 ###Designers
101 * nyway &DALRC